<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Welcome</title>
    </head>
    
    <body>
        
        <div style="margin-left: auto; margin-right: auto; width: 300px;">
            
            <h1>Traveler</h1>
            
            <stripes:form beanclass="cz.uhk.ppro.traveler.logic.LoginActionBean">
    
                <table>
                    <tr>
                        <td><stripes:label for="user.username">Username</stripes:label>:</td>
                        <td><stripes:text name="user.username" id="user.username" /></td>
                    </tr>  
		  
                    <tr>
                        <td><stripes:label for="user.password">Password</stripes:label>:</td>
                        <td><stripes:password name="user.password" id="user.password" /></td>
                    </tr>  
		
                </table>
                    
                <br />
  
                <stripes:submit name="login">Login</stripes:submit><br />
                <stripes:link href="/RegisterServlet">Register</stripes:link>
                <stripes:errors/>
    
            </stripes:form>
            
        </div>
        
    </body>
</html>
